In civil and mining, the design of some structures, such as pillars in mines and bridges, requires the knowledge of the effect of the relative size of dimensions (shape effect) on the strength of the structure. Therefore, to assess the effect of shape on the uni-AXIAL strength of rocks, laboratory tests were conducted on samples of 3 different types of rocks (namely; Isfahan dolomite, Bookan limestone and Gadouk sandstone) with various sample relative dimensions. Analyzing the data of these tests resulted in an overall relationship as σc =k σc√ D/L where D, L and σC1 are the diameter, length and the uni-AXIAL compressive strength of a sample with D/L=1 and K was obtained to be 1.14, 1.21 and 0.96 for the 3 rock types relatively. Also, as D/L and confining pressure affect uni-AXIAL compressive strength and TRI-AXIAL compressive strength similarly, 3 AXIAL tests, in various confining pressures, were conducted on the samples of the same rocks with D/L=0.5. Graphs of σ -3σc and σC - D/L were compared. After omitting the term σC from these formulas the overall relationship of ) σ3=A(D/L)-B was obtained. Finally, for the 3 type of rocks, a single formula as…σ3= 8.7515 D/L-6.3789 with coefficient of determination of 0.9534 was introduced. By applying the simulation proposed in this study, within the limit of the results, the costly time consuming TRI-AXIAL tests can be replaced with uni-AXIAL ones.